﻿<%@ Page Title="" Language="C#" MasterPageFile="~/home.master" AutoEventWireup="true" CodeFile="viewcardsent.aspx.cs" Inherits="viewcardsent" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
     <link href="Css/viewCardDetail.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="display_ecardDetail">
        <div id="receiver">
            <asp:Label ID="lblReceiver" runat="server" Text="Receiver"></asp:Label>
        </div>
        <div id="title_detail">
            <asp:Label ID="lbltitle" runat="server" Text="Title"></asp:Label>
        </div>
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
                <div id="ecard_detail">
                    <object width="790" height="282">
                        <embed src="<%#Eval("urlFlash") %>" width="500" height="400" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" menu="false" wmode="transparent">
                        </embed>
                    </object>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        <%--<div id="name_detail">con meo</div>--%>
        <div id="message">
            <asp:Label ID="lblmessage" runat="server" Text="message"></asp:Label>
        </div>
        <div id="sender">
            <asp:Label ID="lblSender" runat="server" Text="Sender"></asp:Label>
        </div>
        <div id="signature">
            <asp:Label ID="lblSignature" runat="server" Text="Signature"></asp:Label>
        </div>
    </div>
    <div class="box_main">

        <div class="title">
            <div class="title_img1"></div>
            <div class="title_img2">
                <p>Ecards New</p>
            </div>
            <div class="title_img3"></div>
            <div class="title_img4"></div>
            <div class="title_img5"></div>
        </div>
        <asp:Repeater ID="Repeater2" runat="server">
        <ItemTemplate>
            <div class="box_ecard">
            <div class="image">
              <a href="ViewEcard.aspx?id=<%#Eval("ecardId") %>"><img src="<%#Eval("urlImage")  %>" height="117" width="120" /></a>
            </div>
            <div class="name"><%#Eval("ecardName") %></div>
            <div class="date"><%# string.Format("{0:MM/dd/yyyy}",Eval("addDate")) %></div>
            <div class="count"><%#Eval("counts") +" sent"%></div>
        </div>
        </ItemTemplate>
    </asp:Repeater>
        
    </div>
</asp:Content>

